package com.hp.monitoring.pingmon;

import java.util.ArrayList;
import java.util.Collection;

public class MonitorImpl implements Monitor {

	ArrayList<HostPool> hostPools = new ArrayList<HostPool>();
	
	public HostPool createHostPool(String name, Collection<Host> hosts) {
		HostPool pool = new HostPoolImpl();
		pool.setName(name);
		pool.setHosts(hosts);
		hostPools.add(pool);
		
		return pool;
	}

	public Collection<HostPool> getHostPools() {
		return hostPools;
	}

}
